Table of Contents

Class: Database .\src\TW\Database\DataModel.py

A database; handles update queue and transactions

Base Classes   
SEF.Service
Methods   
__init__
_register
abort
commit
flushUpdates
queueForUpdate
tpc_abort
tpc_begin
tpc_finish
tpc_vote
  __init__ 
__init__ ( self )

  _register 
_register ( self,  record )

Register record with the transaction manager

  abort 
abort (
        self,
        record,
        transaction,
        )

  commit 
commit (
        self,
        record,
        transaction,
        )

  flushUpdates 
flushUpdates ( self )

  queueForUpdate 
queueForUpdate ( self,  record )

  tpc_abort 
tpc_abort ( self,  transaction )

  tpc_begin 
tpc_begin ( self,  transaction )

  tpc_finish 
tpc_finish ( self,  transaction )

Can be overridden to do post-commit operations

  tpc_vote 
tpc_vote ( self,  transaction )

Last chance to raise an error - no-op by default


Table of Contents

This document was automatically generated on Tue Mar 05 10:33:44 2002 by HappyDoc version WORKING